package com.javasm.mb_store_api_final.sys_control.rolecontrol.sys_role.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (SysRole)表实体类
 *
 * @author makejava
 * @since 2024-07-29 20:18:46
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysRole extends Model<SysRole> {
    //角色id
    @TableId
    private Integer roleId;
    //角色名称
    private String roleName;
    //权限字符
    private String roleChar;
    //显示顺序
    private Integer showOrder;
    //角色状态0启用 1禁用
    private Integer roleState;
    
    private String remark;
    
    private Date createTime;
    
    private Date updateTime;

    @TableField(exist = false)
    private String posName;
    @TableField(exist = false)
    private String departName;
    @TableField(exist = false)
    private String posCode;
    @TableField(exist = false)
    private String posState;
    @TableField(exist = false)
    private Integer pageSize;
    @TableField(exist = false)
    private Integer pageNum;
    @TableField(exist = false)
    private Integer posId;
}
